const router = require('koa-router')()

router.prefix('/api/home')

const homeControl = require('../controller/home')

router.post('/upload', homeControl.upload)

router.get('/test', async(ctx, next)=> {
  ctx.body = {
    msg: 'hello '
  }
})

module.exports = router;
